package config

import (
	"github.com/go-redis/redis/v8"
	"github.com/spf13/viper"
)

var Redis *redis.Client

func redisInit() {
	Redis = redis.NewClient(&redis.Options{
		Addr: viper.GetString("redis.addr"),
	})
}
